<!--
 * @Description: 登录页面
 * @Version: 2.0
 * @Date: 2024-04-09 15:03:16
 * @LastEditTime: 2024-04-09 15:44:28
-->

<template>
  <div class="container" @click="sign">登录</div>
</template>
<script setup lang="ts">
import { ref, reactive } from "vue";
import { useRouter } from "vue-router";
const router = useRouter(); // 主要用于路由跳转
// const route = useRoute(); //主要用于获取路由中的参数等信息

// 登录
const sign = () => {
  // 路由跳转
  router.push("/home");
};
</script>
<style lang="less" scoped></style>
